const Router = require('koa-router')
const app = new Router({ prefix: "/main/user" })
const { isslogin } = require('../../middleware/index')
const { getuser, deleuser } = require('../../controller/main/getuser')
app.get('/getuser', isslogin, getuser)
app.get('/dele', isslogin, deleuser)
module.exports = app